package yiminsu.com.cn.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import yiminsu.com.cn.beans.HotelBedtypeMsVO;
import yiminsu.com.cn.beans.HotelstoryDictionaries;
import yiminsu.com.cn.mapper.HotelstoryDictionariesMapper;
import yiminsu.com.cn.service.HotelstoryDictionariesService;


@Service
public class HotelstoryDictionariesServiceImpl implements HotelstoryDictionariesService{
	
	@Autowired
	private HotelstoryDictionariesMapper mapper;

	/**
	 * 获取床的型号
	 * @return
	 */
	@Override
	public List<HotelBedtypeMsVO> getBedTypes() {
		
		return mapper.getBedTypes();
	}

	/**
	 * 获取放假价格名称
	 * @return
	 */
	@Override
	public List<HotelstoryDictionaries> getHotelMoney() {
		
		return mapper.getHotelMoney();
	}

	/**
	 * 获取房间设施
	 * @return
	 */
	@Override
	public List<HotelstoryDictionaries> getHotelFacility() {
		
		return mapper.getHotelFacility();
	}

//	@Override
//	public ResultsUtil insertHoteltypeBedtype(HoteltypeBedtype hoteltypeBedtype) {
//		// TODO Auto-generated method stub
//		if(mapper.insertHoteltypeBedtype(hoteltypeBedtype)==1) {
//			resultsUtil.setMsg("新增成功");
//			resultsUtil.setType(true);
//		}else {
//			resultsUtil.setMsg("新增失败");
//			resultsUtil.setType(false);
//		}
//		
//		return resultsUtil;
//	}

}
